

<#
    https://www.bookstack.cn/read/powershell-6-zh/105.md
#>


Get-WmiObject-ClassWin32_LogicalDisk|Select-Object -PropertyName, FreeSpace

# 第2个
Get-WmiObject-ClassWin32_LogicalDisk|Select-Object -Index 1